package com.ccarlos.calculator.planA.factory;

    /**
     * @description: Operation运算类
     * @author: ccarlos
     **/
    public class Operation {

        private double numberA = 0;
        private double numberB = 0;

        public double getNumberA() {
            return numberA;
        }

        public void setNumberA(double numberA) {
            this.numberA = numberA;
        }

        public double getNumberB() {
            return numberB;
        }

        public void setNumberB(double numberB) {
            this.numberB = numberB;
        }

        /**
         * @description: 获取运算结果
         * @author: ccarlos
         * @return: double
         **/
        public double getResult() {
            double result = 0;
            return result;
        }
    }
